package com.lulalei.dbviewer.commons.enums;

import java.io.File;

public enum LevelEnums {
    ENTITY("Entity", "entity","Entity.java"),
    DAO("Dao", "dao","Dao.java"),
    DAO_XML("", "","Dao.xml"),
    SERVICE("Service", "service","Service.java"),
    SERVICE_IMPL("Service.impl", "service" + File.separator + "impl","ServiceImpl.java"),
    CONTROLLER("Controller","controller","Controller.java");

    private final String levelName;

    private final String path;

    private final String suffix;

    LevelEnums(String levelName, String path, String suffix) {
        this.levelName = levelName;
        this.path = path;
        this.suffix = suffix;
    }

    public String getLevelName() {
        return levelName;
    }

    public String getPath() {
        return path;
    }

    public String getSuffix() {
        return suffix;
    }
}
